package com.stu.spring.sim.sample;

import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class HelloServiceImpl implements IHelloService{

    @PostConstruct
    public void init(){
        System.out.println("hello service init 初始化前");
    }

    @Override
    public String hello() {
        return "hello";
    }

}
